﻿<views:MvxWpfView
	x:Class="Sidvall.WorkItemManager.UI.Wpf.Views.NavigationView"
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:vms="clr-namespace:Sidvall.WorkItemManager.UI.ViewModels;assembly=Sidvall.WorkItemManager.UI"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
	xmlns:views="clr-namespace:MvvmCross.Wpf.Views;assembly=MvvmCross.Wpf"
	xmlns:Controls="clr-namespace:Sidvall.WorkItemManager.UI.Wpf.Controls"
	mc:Ignorable="d" 
	d:DesignHeight="300" d:DesignWidth="200">

	<Grid Background="{DynamicResource {x:Static SystemColors.InactiveBorderBrushKey}}" Width="150" Margin="0,0,3,0"
		  d:DataContext="{d:DesignInstance IsDesignTimeCreatable=True, Type={x:Type vms:NavigationViewModel}}">
		<StackPanel>
			<Controls:HeaderControl HeaderCaption="Administration" HeaderHorizontalContentAlignment="Center" FontSize="14" FontWeight="Bold"/>
			<Controls:ButtonControl Grid.Row="1" ImageHeight="36" ImageWidth="36" Margin="5,5,5,0" ButtonCommand="{Binding ShowStartCommand}"
								ImageSource="/Sidvall.WorkItemManager.UI.Wpf;component/Images/Dashboard.png" IsEnabled="{Binding CanShowStart}" 
								ButtonText="Dashboard" BorderThickness="1" BorderBrush="{DynamicResource {x:Static SystemColors.ActiveBorderBrushKey}}" 
								Background="{DynamicResource {x:Static SystemColors.ControlLightBrushKey}}" />
			<Controls:ButtonControl Grid.Row="2" ImageHeight="36" ImageWidth="36" Margin="5,5,5,0" ButtonCommand="{Binding ShowWorkersCommand}"
								ImageSource="/Sidvall.WorkItemManager.UI.Wpf;component/Images/Worker.png" IsEnabled="{Binding CanShowWorkers}" 
								ButtonText="Workers" BorderThickness="1" BorderBrush="{DynamicResource {x:Static SystemColors.ActiveBorderBrushKey}}" 
								Background="{DynamicResource {x:Static SystemColors.ControlLightBrushKey}}" />
			<Controls:ButtonControl Grid.Row="2" ImageHeight="36" ImageWidth="36" Margin="5,5,5,0" ButtonCommand="{Binding ShowWorkItemTypesCommand}"
								ImageSource="/Sidvall.WorkItemManager.UI.Wpf;component/Images/WorkItemType.png" IsEnabled="{Binding CanShowWorkItemTypes}" 
								ButtonText="Task Types" BorderThickness="1" BorderBrush="{DynamicResource {x:Static SystemColors.ActiveBorderBrushKey}}" 
								Background="{DynamicResource {x:Static SystemColors.ControlLightBrushKey}}" />
			<Controls:ButtonControl Grid.Row="2" ImageHeight="36" ImageWidth="36" Margin="5,5,5,0" ButtonCommand="{Binding ShowWorkConditionsCommand}"
								ImageSource="/Sidvall.WorkItemManager.UI.Wpf;component/Images/WorkItemType.png" IsEnabled="{Binding CanShowWorkConditions}" 
								ButtonText="Conditions" BorderThickness="1" BorderBrush="{DynamicResource {x:Static SystemColors.ActiveBorderBrushKey}}" 
								Background="{DynamicResource {x:Static SystemColors.ControlLightBrushKey}}" />
			<Controls:ButtonControl Grid.Row="2" ImageHeight="36" ImageWidth="36" Margin="5,5,5,0" ButtonCommand="{Binding ShowWorkRetryPoliciesCommand}"
								ImageSource="/Sidvall.WorkItemManager.UI.Wpf;component/Images/WorkItemType.png" IsEnabled="{Binding CanShowWorkRetryPolicies}" 
								ButtonText="Retry Policies" BorderThickness="1" BorderBrush="{DynamicResource {x:Static SystemColors.ActiveBorderBrushKey}}" 
								Background="{DynamicResource {x:Static SystemColors.ControlLightBrushKey}}" />
		</StackPanel>
	</Grid>
</views:MvxWpfView>
